﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Logistics.Win
{
    public class PanelPrinterSettingModel : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;
        public void RaisePropertyChanged(string propertyName)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
        private int _TagMaxNum;
        public int TagMaxNum
        {
            get { return _TagMaxNum; }
            set
            {
                if (_TagMaxNum != value)
                {
                    _TagMaxNum = value;
                    RaisePropertyChanged("TagMaxNum");
                }
            }
        }
        private String _TicketPrinter;
        public String TicketPrinter
        {
            get { return _TicketPrinter; }
            set
            {
                if (_TicketPrinter != value)
                {
                    _TicketPrinter = value;
                    RaisePropertyChanged("TicketPrinter");
                }
            }
        }
        private String _TagPrinter;
        public String TagPrinter
        {
            get { return _TagPrinter; }
            set
            {
                if (_TagPrinter != value)
                {
                    _TagPrinter = value;
                    RaisePropertyChanged("TagPrinter");
                }
            }
        }
        private IList<String> _PrinterList;
        public IList<String> PrinterList
        {
            get { return _PrinterList; }
            set
            {
                if (_PrinterList != value)
                {
                    _PrinterList = value;
                    RaisePropertyChanged("PrinterList");
                }
            }
        }
    }
}
